Skip to content

Use more constants#2462

Merged
lonvia merged 5 commits intoosm2pgsql-dev:masterfrom
joto:more-constants
Apr 7, 2026
Merged

Use more constants#2462
lonvia merged 5 commits intoosm2pgsql-dev:masterfrom
joto:more-constants

Conversation

@joto
Copy link
Copy Markdown
Collaborator

@joto joto commented Apr 7, 2026

Use named constants in more places instead of magic numbers.

joto added 5 commits April 7, 2026 14:48
Also fixes the size for multilinestrings!
The quadkey code uses many magic constants only once or twice, there is
no sense in defining them separately.
@lonvia lonvia merged commit e717f1b into osm2pgsql-dev:master Apr 7, 2026
24 checks passed
@joto joto deleted the more-constants branch April 8, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants